//
//  KCSaleDayReportCell.swift
//  MyKC
//
//  Created by yy on 2017/4/7.
//  Copyright © 2017年 com.yasuo. All rights reserved.
//

import UIKit
class KCSaleDayReportCell: UITableViewCell {
    @IBOutlet weak var lbe_date: UILabel!
    @IBOutlet weak var lbe_todaySale: UILabel!
    @IBOutlet weak var lbe_monthSale: UILabel!
    var model: KCWorkTaiSaleInfoModel? {
        //外界已经完成了的赋值
        didSet {
            if model?.MonthSales != nil {
                lbe_monthSale.text = (model?.MonthSales)! + "万元"
                lbe_todaySale.text = (model?.TodaySales)! + "万元"
            }
        }
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        sharedDateFormater.dateFormat = "yyyy-MM-dd"
        lbe_date.text = sharedDateFormater.string(from: Date())
    }

}
